package com.wx.cloud.dailyreport;

import com.wx.cloud.rule.Rule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients
@RibbonClient(name="user", configuration= Rule.class)//name 调用谁的服务就改成它
public class DailyreportApplication {
    public static void main(String[] ages){
        SpringApplication.run(DailyreportApplication.class,ages);
    }
}
